package toyexamples;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.*;
import instrumentation.TrackerCoverage;
public class mainStack {
	public static TrackerCoverage track=  TrackerCoverage.getTracker();
	public static void main(String args[]) {
		while (true) {
			try {
				 //Stack_1.push(0); Stack_0.push(5); Stack_1.pop(); Stack_0.top(); Stack_0.push(10); Stack_0.top(); Stack_1.pop(); Stack_1.push(1); Stack_1.pop(); Stack_1.push(-2);
				Stack Stack_0 = new Stack();
				Stack Stack_1 = new Stack();
//				  Stack_0.push(-21); //Stack_0.push(18);
				  Stack_0.print_stack('2');
//				  Stack_0.print_stack('G');
//				  Stack_0.print_stack(1);
	//			  Stack_0.print_stack(3);
//				  Stack_1.push(31); Stack_0.pop(); Stack_1.push(15);				
				System.out.println(track.toString());
				System.out.println(track.displayCondition());
//				Stack_0.push(-57); Stack_1.push(-1); Stack_1.pop();
//				System.out.print("\n\n" + track.toString());
				break;
			} catch (Exception e) {
				System.out.print("\n\n" + track.toString());
				System.out.println("InvocationTargetException."
						+ e.getMessage());
				return; // continues normal execution in case of exception
							// in called
			}
		}
	}
}
